﻿using Ewell.Interface.Common.Model.Constant;
using Ewell.Interface.Common.Model.GateWay.Dto.InsuranceManager;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ewell.Interface.Common.Model.GateWay.GateWayUriInfo
{
    public class InsuredInfoMappingDubboService : GateWayUri
    {
        public override string url => "dubbo/cc.ewell.his.insurance.management.dubbo.InsuredInfoMappingDubboService";
        public GateWayMethod queryInsuranceID1 => new QueryInsuranceID1(url);
    }

    public class QueryInsuranceID1 : GateWayMethod
    {
        public QueryInsuranceID1(string baseUrl) : base(baseUrl)
        {
        }

        public override string methodName => "queryInsuranceID1";

        public override string paramClass => "cc.ewell.his.insurance.management.upon.request.QueryInsuranceIDReq";

        public override DubboParamType paramType => DubboParamType.defaultParam;

        public override Type requestParamType => typeof(QueryInsuranceIDReq);

        public override Type responseParamType => typeof(string);
    }
}
